(:: pragma bea:global-element-parameter parameter="$submitOrder1" element="ns0:SubmitOrder" location="../WSDLs/SubmitOrder.wsdl" ::)
(:: pragma bea:global-element-return element="ns1:NewOperation" location="../WSDLs/mockCreateNewCustomerInSF.wsdl" ::)

declare namespace ns1 = "http://www.example.org/mockCreateNewCustomerInSF/";
declare namespace ns0 = "http://www.example.org/SubmitOrder/";
declare namespace xf = "http://tempuri.org/ActivateNewCustomer/Transformation/inputToMockSF_createNewCustomer/";

declare function xf:inputToMockSF_createNewCustomer($submitOrder1 as element(ns0:SubmitOrder))
    as element(ns1:NewOperation) {
        <ns1:NewOperation>
            <offerId>{ data($submitOrder1/offerId) }</offerId>
            <mvnoID>{ data($submitOrder1/mvnoID) }</mvnoID>
            <clearwireMarketID>{ data($submitOrder1/clearwireMarketID) }</clearwireMarketID>
            <SKU>{ data($submitOrder1/SKU) }</SKU>
            <realm>{ data($submitOrder1/realm) }</realm>
            <lbsType>{ data($submitOrder1/lbsType) }</lbsType>
            <customer_id>{ data($submitOrder1/customer_id) }</customer_id>
            <service_id>{ data($submitOrder1/service_id) }</service_id>
            <mvnoMarketID>{ data($submitOrder1/mvnoMarketID) }</mvnoMarketID>
            <macID>{ data($submitOrder1/macID) }</macID>
        </ns1:NewOperation>
};

declare variable $submitOrder1 as element(ns0:SubmitOrder) external;

xf:inputToMockSF_createNewCustomer($submitOrder1)